//
//  Header.h
//  Pods
//
//  Created by ilongge on 2022/8/2.
//

#define WeakSelf(weakSelf)              __weak __typeof(&*self) weakSelf = self;
#define StrongSelf(strongSelf)          __strong __typeof(&*self) strongSelf = weakSelf;

//状态栏高度  20  44
#define kXLCIStatusBarHeight                [[UIApplication sharedApplication] statusBarFrame].size.height
/*导航栏高度*/
#define kXLCINaviBarHeight                   44.0
/*顶部安全区域远离高度*/
#define kXLCITopBarSafeHeight               (CGFloat)(kXLCIStatusBarHeight>20?(kXLCINaviBarHeight):(0))
/*底部安全区域远离高度*/
#define kXLCIBottomSafeHeight               (CGFloat)(kXLCIStatusBarHeight>20?(34.0):(0))
/*状态栏和导航栏总高度*/
#define kXLCINaviHeight                     (CGFloat)(kXLCINaviBarHeight+kXLCIStatusBarHeight)
/*TabBar高度*/
#define kXLCITabBarHeight                   (CGFloat)(49.0 + kXLCIBottomSafeHeight)

//屏幕宽度与高度
#define kXLCISCREEN_WIDTH                   [UIScreen mainScreen].bounds.size.width

#define kXLCISCREEN_HEIGHT                  [UIScreen mainScreen].bounds.size.height

#define kXLCIPingFangSC_Regular               @"PingFang-SC-Regular"
#define kXLCIPingFangSC_Medium                @"PingFang-SC-Medium"
